package com.xxx.rpc.sample.server.remote.impl;

import com.xxx.rpc.sample.bean.LoanReq;
import com.xxx.rpc.sample.bean.LoanResp;
import com.xxx.rpc.sample.bean.Person;
import com.xxx.rpc.sample.remote.LoanService;

public class LoanServiceImpl implements LoanService {


	@Override
	public LoanResp loan(LoanReq req) {
		return new LoanResp(req.getName().concat("resp"), req.getId()+1, new Person("loan", "me"));
	}

}
